package org.example.shop_front_api.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.shop_front_api.entity.Setting;

/**
 * 设置 mapper类
 */
@Mapper
public interface SettingMapper {
    //新增设置
    public int insertSetting(Setting setting);

    //更新设置
    public int updateSetting(Setting setting);
    //根据member_id查询设置
    public Setting getSettingByMemberId(int memberId);
}
